﻿using SXICE.Core.Infrastructure;

namespace SXICE.Core.Domains
{
    /// <summary>
    /// 用户实体表
    /// </summary>
    public class Doctor : BaseDomain, IStatus
    {
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 医生真实姓名
        /// </summary>
        public string RealName { get; set; }

        /// <summary>
        /// 用户密码
        /// </summary>
        public string Password { get; set; }

        /// <summary>
        /// 角色Id
        /// </summary>
        public int RoleId { set; get; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string RoleName { set; get; }

        /// <summary>
        /// 是否启用
        /// </summary>
        public bool Enabled { set; get; } = true;
    }
}
